package me.yricky.mayu.ui.tasks

import androidx.compose.runtime.mutableStateListOf
import me.yricky.mayu.ui.tasks.taskui.Task

/**
 * @author Yricky
 * @date 2022/4/20
 */
class TasksListModel {
    val list:MutableList<Task> = mutableStateListOf()
    fun addTask(task: Task) = list.add(task)
    fun removeTask(task: Task) = list.remove(task)
}